<style>
    .new-form-control{
        margin-left: 10px;
        width: 200px;
        padding: 5px 10px;
        height: 30px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
        box-shadow: none;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
    }
</style>
<div class="box">
  <div class="box-header">
      
    <div class="row">
        <div class="col-sm-4">
            <ob_link><a class="btn" href="{:url('platformAdd')}"><i class="fa fa-plus"></i> 新 增</a></ob_link>
        </div>

        <div class="col-sm-10">
            <div class="box-tools search-form pull-right">
                <div class="input-group input-group-sm">

                    <input type="text" name="search_data" style="margin-left: 15px;width: 200px;" class="form-control" value="{:input('search_data')}" placeholder="支持标题|内容">
                    <select name="tags" class="new-form-control">
                        <option value="" >全部标签</option>
                        {volist name='tags' id='vo'}
                        <option value="{$vo['id']}" {notempty name="param['tags']"}{if condition="$param['tags'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                        {/volist}
                    </select>
                    <div class="input-group-btn"  style="display:inline-block">
                      <button type="button" id="search"  url="{:url('platformlist')}" class="btn btn-info btn-flat"><i class="fa fa-search"></i></button>
                    </div>

                </div>
           </div>
        </div>
    </div>

  </div>
  <div class="box-body table-responsive">
      <div class="top-table"> <span class="top-table-children">总条数:{$list['count']}</span>  </div>
    <table  class="table table-bordered table-hover" style="word-wrap:break-word;word-break:break-all;">
      <thead>
      <tr>

          <th>
              序号
          </th>
          <th>基础</th>
          <th>图标</th>
          <th>信息</th>
          <th>操作</th>
      </tr>
      </thead>
      
      {notempty name='list.list'}
        <tbody>
            {volist name='list.list' id='vo' key="k"}
                <tr>

                  <td>
                    {$k}
                  </td>
                  <td >
                      <div><label>交易平台名称:</label><span>{$vo.name}</span></div>


                  </td>
                    <td style="width: 150px;height: 150px">
                        <img style="width: 100%;height: 100%" src="{$vo.cover_id|get_picture_url}"/>
                    </td>
                    <td>
                        <div>  <label>国家:</label><span>{$vo.country}</span></div>
                        <div>  <label>平台币:</label><span>{$vo.symbol}</span></div>
                        <div>  <label>排名:</label><span>{$vo.ranking}</span></div>
                        <div>  <label>交易总额:</label><span>{$vo.turnover}</span></div>
                        <div>  <label>交易对数量:</label><span>{$vo.trade_count}</span></div>
                        <div>  <label>币种数量:</label><span>{$vo.coin_count}</span></div>
                    </td>


                  <td class="col-md-2 text-center">
                      <ob_link><a href="{:url('platformEdit', array('id' => $vo['id']))}" class="btn "><i class="fa fa-edit"></i> 编辑</a></ob_link>
                      <ob_link><a class="btn confirm ajax-get" href="{:url('setStatus', array('ids' => $vo['id'], 'status' => $Think.DATA_DELETE))}"><i class="fa fa-trash-o"></i> 删 除</a></ob_link>
                  </td>
                </tr>
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
    </table>


  </div>
  <div class="box-footer clearfix text-center">
      {$list.list->render()}
  </div>
</div>